package com.giscloud.amp.entity.vo;

import com.giscloud.amp.entity.AmpLoginLog;

/**
 * @Author:gxd
 * @Description:
 * @Date: 22:15 2018/3/11
 * @Modified By:
 */
public class AmpLoginLogVO extends AmpLoginLog {

    private String onlineStatusCdDesc;
    private String staffName;
    private String systemName;

    public void setOnlineStatusCdDesc(String onlineStatusCdDesc) {
        this.onlineStatusCdDesc = onlineStatusCdDesc;
    }

    public String getOnlineStatusCdDesc() {
        if (getOnlineStatusCd()==1) {
            return "登录";
        } else if (getOnlineStatusCd()==2) {
            return "退出";
        } else {
            return "";
        }
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }
}
